frappe.pages['work_order_grid'].on_page_load = function(wrapper) {
	var page = frappe.ui.make_app_page({
		parent: wrapper,
		title: '网格工单演示',
		single_column: true
	});	
	page.add_inner_button('刷新', () => load_data());
	console.log(page);
	page.main.load("/assets/frappe_study/pages/work_order.html",function(){
		console.log("tpl加载完成!");
		load_data();
	});		
}